package com.distribution.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.distribution.system.domain.entity.CmccDaUpChannelInfo;
import com.distribution.system.manager.channel.channelInfo.ChannelInfoManager;
import com.distribution.system.mapper.CmccDaUpChannelInfoMapper;
import com.distribution.system.service.CmccDaUpChannelInfoService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author: GodLu
 * @create: 2024-05-06 13:32
 * @description: TODO
 */
@Slf4j
@Service
public class CmccDaUpChannelInfoServiceImpl extends ServiceImpl<CmccDaUpChannelInfoMapper, CmccDaUpChannelInfo> implements CmccDaUpChannelInfoService {

    @Resource
    ChannelInfoManager channelInfoManager;

    @Override
    public void refreshChannelInfo() {
        channelInfoManager.refreshCache();
    }
}
